package com.cn.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class SkuAddCartDTO {
    //用户id
    private Long userId;
    //skuId
    private Long skuId;
    //商店id
    private Long shopId;

    //数量
    private Integer amount;

    public SkuAddCartDTO(Long userId) {
        this.userId = userId;
    }

    public SkuAddCartDTO(Long userId, Long skuId) {
        this.userId = userId;
        this.skuId = skuId;
    }


}
